/*
 * @Author: your name
 * @Date: 2021-03-11 16:48:46
 * @LastEditTime: 2021-03-11 16:49:00
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /wx_calander_app/lib/components/new_compont/decoration.dart
 */
import 'package:flutter/material.dart';

class DecorationWidege {
  static decation(Color color, double radius) {
    return new BoxDecoration(
      shape: BoxShape.rectangle,
      // boxShadow: [
      //   BoxShadow(
      //     color: Colors.grey[300],
      //     offset: Offset(1, 1),
      //     blurRadius: radius,
      //   ),
      // BoxShadow(
      //     color: Colors.grey[300], offset: Offset(-1, -1), blurRadius: 5),
      // BoxShadow(
      //     color: Colors.grey[300], offset: Offset(1, -1), blurRadius: 5),
      // BoxShadow(color: Colors.grey[300], offset: Offset(-1, 1), blurRadius: 5)
      // ],
      borderRadius: BorderRadius.circular(radius),
      color: color,
    );
  }
}
